/**
 *====================================================
 * 文件名称: DeliveryEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年9月23日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.DeliveryStateEnum;

/**
 * @ClassName: DeliveryEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年9月23日 下午5:27:04
 */
@Entity
@Table(name = "FIN_DELIVERY")
public class DeliveryEntity {

	/** 配送单ID */
	@Id
	@GeneratedValue
	@Column(name = "DELIVERY_ID")
	private Long deliveryId;

	/** 配送单号 */
	@Column(name = "DELIVERY_NUMBER")
	private String deliveryNumber;

	/** 放货通知单ID */
	@Column(name = "DELIVERY_NOTICE_ID")
	private Long deliveryNoticeId;

	/** 提货申请ID */
	@Column(name = "PICKUP_ID")
	private Long pickupId;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 物流公司ID */
	@Column(name = "LOGISTICS_COMPANY_ID")
	private Long logisticsCompanyId;

	/** 物流公司名称 */
	@Column(name = "LOGISTICS_COMPANY_NAME")
	private String logisticsCompanyName;

	/** 配送负责人ID */
	@Column(name = "CLERK_ID")
	private Long clerkId;

	/** 配送负责人 */
	@Column(name = "CLERK_NAME")
	private String clerkName;

	/** 配送负责人手机 */
	@Column(name = "CLERK_MOBILE")
	private String clerkMobile;

	/** 配送任务状态 0:未知/1:未确认/2:拒绝/3:已接受(配送中)/4:已完成 */
	@Column(name = "DELIVERY_STATE")
	private DeliveryStateEnum deliveryState;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	public Long getDeliveryId() {
		return deliveryId;
	}

	public void setDeliveryId(Long deliveryId) {
		this.deliveryId = deliveryId;
	}

	public String getDeliveryNumber() {
		return deliveryNumber;
	}

	public void setDeliveryNumber(String deliveryNumber) {
		this.deliveryNumber = deliveryNumber;
	}

	public Long getDeliveryNoticeId() {
		return deliveryNoticeId;
	}

	public void setDeliveryNoticeId(Long deliveryNoticeId) {
		this.deliveryNoticeId = deliveryNoticeId;
	}

	public Long getPickupId() {
		return pickupId;
	}

	public void setPickupId(Long pickupId) {
		this.pickupId = pickupId;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Long getLogisticsCompanyId() {
		return logisticsCompanyId;
	}

	public void setLogisticsCompanyId(Long logisticsCompanyId) {
		this.logisticsCompanyId = logisticsCompanyId;
	}

	public String getLogisticsCompanyName() {
		return logisticsCompanyName;
	}

	public void setLogisticsCompanyName(String logisticsCompanyName) {
		this.logisticsCompanyName = logisticsCompanyName;
	}

	public Long getClerkId() {
		return clerkId;
	}

	public void setClerkId(Long clerkId) {
		this.clerkId = clerkId;
	}

	public String getClerkName() {
		return clerkName;
	}

	public void setClerkName(String clerkName) {
		this.clerkName = clerkName;
	}

	public String getClerkMobile() {
		return clerkMobile;
	}

	public void setClerkMobile(String clerkMobile) {
		this.clerkMobile = clerkMobile;
	}

	public DeliveryStateEnum getDeliveryState() {
		return deliveryState;
	}

	public void setDeliveryState(DeliveryStateEnum deliveryState) {
		this.deliveryState = deliveryState;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

}
